#include "choicewindow.h"
#include "ui_choicewindow.h"
#include "funwindow.h"
#include "chatwindow.h"

choiceWindow::choiceWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::choiceWindow)
{
    ui->setupUi(this);
}

choiceWindow::~choiceWindow()
{
    delete ui;
}

void choiceWindow::on_returnButton_clicked()
{
    funWindow * fw = new funWindow;
    fw->show();
    this->close();
}

void choiceWindow::on_chatButton_clicked()
{
    chatWindow * cw = new chatWindow;
    cw->show();
    this->close();
}
